<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--jstl을 쓰기 위해 사용 --%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%--숫자 포맷을 사용하기 위해 사용 --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%><%--함수들을 이용하기 위해 사용 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!--<script type="text/javascript" src="script/sms_riskI_script.js"></script>-->
</head>
<body>
<div class="box">
	<h4 class="white">SOA정립</h4>
	 <div class="box-container2">
		 <form action="riskIAction.do" method="post" name="msoa">
		 <input type="hidden" name="pro_id" id="pro_id" value="${sessionScope.lastProId }"></input>
		 <input type="hidden" name="ts_cd1" id="ts_cd1" value="${requestScope.vo.ts_cd1 }"></input>
		 <input type="hidden" name="ts_cd2" id="ts_cd2" value="${requestScope.vo.ts_cd2 }"></input>
		 <input type="hidden" name="ts_cd3" id="ts_cd3" value="${requestScope.vo.ts_cd3 }"></input>
		 <input type="hidden" name="ts_cd4" id="ts_cd4" value="${requestScope.vo.ts_cd4 }"></input>
		 <c:choose>
			<c:when test="${requestScope.update=='Y' }">
				<input type="hidden" name="mode" value="msoa_update"></input>
			</c:when>
			<c:otherwise>
			    <input type="hidden" name="mode" value="msoa_insert"></input>
			</c:otherwise>
		</c:choose>	
		 	<table class="insertTableL">
	   			<tfoot>
	   				<tr>
	   					<td>
	                     	<div class="align-right"><a href="#" class="button" onclick="riskIWrite('msoa');return false;"><span>저장</span></a>
	                     	<a href="#" class="button" onclick="javascript: riskICancleWrite('msoa')"><span>닫기</span></a></div>
	                     </td>
	   				</tr>
	   			</tfoot>
	   		</table>
	   		<table class="insertTableL">
	   			<colgroup>
	   				<col width="110px"/>
	   				<col width=""/>
	   			</colgroup>
	   			<tbody>
	   				<tr>
	   					<td class="titleName">통제영역</td>
	   					<td>
	   						<%--<input type="text" name="ts_nm2" id="ts_nm2"  class="width99" readonly="readonly" value="${requestScope.vo.ts_nm2 }" ></input> --%>
	   						${requestScope.vo.ts_nm2 }
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName">통제항목</td>
	   					<td>
       						<%--<input type="text" name="ts_nm3" id="ts_nm3"   class="width99" readonly="readonly" value="${requestScope.vo.ts_nm3 }" ></input> --%>
       						${requestScope.vo.ts_nm3 }	
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName">통제세부항목</td>
	   					<td>
       						<%--<input type="text" name="ts_nm3" id="ts_nm3"   class="width99" readonly="readonly" value="${requestScope.vo.ts_nm3 }" ></input> --%>
       						${requestScope.vo.ts_nm4 }	
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName">적용여부</td>
	   					<td>
       						<span><input type="radio" name="apply_yn" id="apply_yn1" value="1"  <c:if test="${requestScope.vo.apply_yn == 1 }">checked='checked'</c:if> /> <label for="apply_yn1" style="cursor:pointer">Yes</label></span>
       						<span><input type="radio" name="apply_yn" id="apply_yn2" value="0"  <c:if test="${requestScope.vo.apply_yn == 0 }">checked='checked'</c:if> /> <label for="apply_yn2" style="cursor:pointer">No</label></span>
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName" class="col-rowspanMid">적용현황상세</td>
	   					<td>
	   						<textarea class="textfiled" name="apply_detail" rows="4"  id="apply_detail" >${requestScope.vo.apply_detail }</textarea>						
	   					</td>
	   				</tr>
					<tr>
	   					<td class="titleName">적용계획</td>
	   					<td>
       						<span><input type="radio" name="ap_yn" id="ap_yn1" value="1"  <c:if test="${requestScope.vo.ap_yn == 1 }">checked="checked"</c:if> /> <label for="ap_yn1" style="cursor:pointer">Yes</label></span>
       						<span><input type="radio" name="ap_yn" id="ap_yn2" value="0"  <c:if test="${requestScope.vo.ap_yn == 0 }">checked="checked"</c:if> /> <label for="ap_yn2" style="cursor:pointer">No</label></span>
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName" class="col-rowspanMid">적용계획상세</td>
	   					<td>
	   						<textarea class="textfiled" name="ap_detail" rows="4" id="ap_detail" >${requestScope.vo.ap_detail }</textarea>						
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName">통제선정사유</td>
	   					<td>
	   					<span><input type="checkbox" class="chkCursor" name="lr" id="lr"  value='1' <c:if test="${requestScope.vo.lr == 1 }">checked="checked"</c:if>></input> <label for="lr" style="cursor:pointer">LR</label></span>
	   					<span><input type="checkbox" class="chkCursor" name="co" id="co" value='1' <c:if test="${requestScope.vo.co == 1 }">checked="checked"</c:if>></input> <label for="co" style="cursor:pointer">CO</label></span>
	   					<span><input type="checkbox" class="chkCursor" name="brbp" id="brbp"  value='1' <c:if test="${requestScope.vo.brbp == 1 }">checked="checked"</c:if>></input> <label for="brbp" style="cursor:pointer">BR/BP</label></span>
	   					<span><input type="checkbox" class="chkCursor" name="rra" id="rra"  value='1' <c:if test="${requestScope.vo.rra == 1 }">checked="checked"</c:if>></input> <label for="rra" style="cursor:pointer">RRA</label></span>
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName" class="col-rowspanMid">관련제도/계획<br/>/장비/도구</td>
	   					<td><textarea class="textfiled" name="connect_sys" rows="4"  id="connect_sys" >${requestScope.vo.connect_sys }</textarea></td>
	   				</tr>
	   			</tbody>
	   		</table>
   		</form>
	</div>
</div>
</body>
</html>
